package com.ruoyi.proposals.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.ruoyi.common.config.PointTypeHandler;
import lombok.Data;

import org.postgis.Point;
import java.util.Date;

/**
 * 微信用户表
 * @TableName pro_user
 */
@TableName(value ="pro_user")
@Data
public class ProUser {
    /**
     * 
     */
    private Integer userId;

    /**
     *
     */
    private String wechatId;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
//    @TableField(value = "location", typeHandler = FastjsonTypeHandler.class)
    @TableField(value = "location", typeHandler = PointTypeHandler.class)
    private Point location;

    /**
     * 
     */
    private String sex;

    /**
     * 
     */
    private String birthday;

    /**
     * 
     */
    private String addr;

    /**
     * 
     */
    private String createBy;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private String updateBy;

    /**
     * 
     */
    private Date updateTime;
}